body,
div,
dl,
dt,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p,
input,
button,
th,
td {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    min-width: 1226px;
}

li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

img,
input,
button {
    border: 0;
    vertical-align: middle;
}



/*--------------头部样式-----------------*/
.header {
    width: 100%;
    height: 40px;
    background-color: #333333;
    line-height: 40px;
}

.wrap {
    width: 1226px;
    margin: 0 auto;
}

.header-left {
    float: left;

}

.header-right {
    float: right;
}

.header li {
    float: left;
    position: relative;
}

.header a {
    color: #b0b0b0;
    font-size: 12px;
}

.header a:hover {
    color: #fff;
}

.header span {
    background-color: #424242;
    margin: 0 5px;
    font-size: 12px;
}

/*----下载app------- */
.download {
    width: 124px;
    height: 148px;
    left: -40px;
    background-color: #fff;
    box-shadow: 0 1px 5px #aaa;
    top: 40px;
    position: absolute;
    z-index: 12;
    transition: all 2s;
    display: none;
}

.download>img {
    width: 90px;
    padding: 18px 0 12px;
}

.download>p {
    font-size: 14px;
    line-height: 14px;
    color: #333;

}

.header-left li:hover>.download {
    display: block;
    transition: height 0.2s linear;
}

.cart {
    width: 120px;
    height: 40px;
    background-color: #424242;
    margin-left: 25px;
    cursor: pointer;
    position: relative;
}

.cart:hover {
    background-color: #fff;
}

.cart:hover>a {
    color: #ff6700;
}

.cart-list {
    width: 316px;
    height: 100px;
    line-height: 100px;
    font-size: 12px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    position: absolute;
    top: 40px;
    right: 0;
    display: none;
    z-index: 10;
    transition: all 1s;
}

.cart:hover>.cart-list {
    display: block;
}

/*--------- 导航开始------------*/
.nav {
    clear: both;
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #fff;
}

.logo {
    float: left;
    width: 100px;
    height: 100px;
    text-align: left;
}

.nav-bar {
    float: left;
    width: 830px;
    height: 100px;

}

.search {
    float: left;
    width: 296px;
    height: 100px;
    padding-top: 25px;
    box-sizing: border-box;
    position: relative;
}

.logo img {
    width: 56px;
    height: 56px;
    margin-top: 22px;
}

.nav-bar>ul>li {
    float: left;

}

.nav-bar>ul>li>a {
    display: block;
    padding: 38px 10px;
    color: #333333;
}

.nav-bar>ul>li>a:hover {
    color: #ff6700;
}

.search input {
    float: left;
    width: 223px;
    height: 48px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-right: none;
    outline: none;
    transition: all .2s;
}

.search button {
    float: left;
    width: 52px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    font-size: 24px;
    color: #616161;
    outline: none;
}

/*---------边框变为灰色 ------  */
.search input:hover,
.search input:hover+button {
    border-color: #b0b0b0;
}

/*  ------- 边框变为橘色--------- */
.search input:focus,
.search input:focus+button {
    border-color: #ff6700;
}

.search button:hover {
    background-color: #ff6700;
    border-color: #ff6700;
    color: #fff;
    transition: all 2s;
}

/*  -------- 热搜词部分开始-------  */
.hot-words {
    width: 245px;
    height: 241px;
    top: 75px;
    left: 0;
    border: 1px solid #f25807;
    background-color: #fff;
    border-top: none;
    box-sizing: border-box;
    position: absolute;
    display: none;
    z-index: 12;
}

.hot-words>a {
    width: 246px;
    height: 30px;
    padding: 6px 15px;
    display: block;
    font-size: 12px;
    color: #424242;
    box-sizing: border-box;
    text-align: left;
    transition: all 2s;
    overflow: hidden;
}

.search input:focus~.hot-words {
    display: block;
}

.nav-list {
    width: 100%;
    height: 229px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 3px 4px rgba(0, 0, 0, .18);
    position: absolute;
    left: 0;
    display: none;
    z-index: 10;
}

.nav-bar li:hover>.nav-list {
    display: block;
}



.nav-list li {
    width: 204px;
    height: 201px;
    padding-top: 35px;
    box-sizing: border-box;
    float: left;
}

.img-box {
    width: 100%;
    height: 110px;
    border-right: 1px solid #e0e0e0;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.img-box img {
    width: 100%;
    height: 110px;
}

.nav-name {
    color: #333;
    font-size: 12px;
    line-height: 20px;
}

.nav-price {
    color: #f25807;
    font-size: 12px;
    line-height: 20px;
}




.slide {
    position: absolute;
    width: 234px;
    height: 420px;
    background-color: #fff;
    padding: 20px 0;
    border: 1px solid #ff6700;
    z-index: 10;
    top: 90px;
    left: 138px;
    display: none;

}

.nav-bar li:hover>.slide {
    display: block;
}

.slide>ul>li {
    height: 42px;
    line-height: 42px;
    text-align: left;
    padding-left: 30px;
    font-size: 14px;
    list-style: none;
    cursor: pointer;
}

.slide>ul>li:hover {
    background-color: #ff6700;
}

.slide>ul>li>a {
    color: #333333;
    font-size: 14px;
    text-decoration: none;
}

.slide i {
    float: right;
    margin-right: 20px;
    font-size: 14px;
    color: #333333;
}

.slide>ul>li>a>span {
    float: right;
    margin-right: 20px;
}

.left-display {
    width: 992px;
    height: 460px;
    position: absolute;
    top: 0px;
    left: 235px;
    padding-top: 2px;
    border: 1px solid #e0e0e0;
    border-left: none;
    box-sizing: border-box;
    background-color: #fff;
    display: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: all 2s;
}

.left-display>ul {
    width: 247px;
    height: 456px;
    float: left;
    border-left: 1px solid #fff;

}

.left-display>ul>li {
    width: 100%;
    /*容器宽度*/
    height: 76px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    /*文本溢出属性为隐藏*/
    white-space: nowrap;
    /* 防止文本换行 */
    text-overflow: ellipsis;
    /*文本溢出时显示省略号*/
}

.left-display img {
    margin-right: 12px;

}

.left-display a {
    font-size: 12px;
    color: #333;
}


.slide li:hover div {
    display: block;
    z-index: 2;
}

/* -------导航结束--------- */

/*-----------白色导航----------*/
.white-bar-box {
    position: relative;
    z-index: 4;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .07);
}

.white-bar {
    position: relative;
    height: 63px;
    width: 100%;
    margin-top: 0;
    color: #616161;
}

.white-bar h2 {
    margin-left: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 60px;
    color: #424242;
    float: left;
    display: block;
}

.white-bar-left {
    float: left;
    margin: 21px 0 0 5px;
    font-size: 12px;
}

.white-bar-right {
    float: right;
    margin: 17px 0 0 0;
}

.white-bar {
    color: #616161;
    background-color: rgba(0, 0, 0, 0);
}

a {
    color: #616161;
}

a:hover {
    color: #ff6700;
}

/*-------------灰色导航开始--------------*/


.login-bar {
    background: #f7f7f7;
    width: 100%;
    text-align: center;
    height: 48px;
    line-height: 48px;
    color: #333;
}

.login-container {
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
}

.login-des {
    font-size: 14px;
    color: #333333;
}

.login {
    color: #ff6700;
    margin-left: 25px;
    font-size: 14px;
    text-align: center;
    height: 48px;
    line-height: 48px;

}

.login-des .iconfont {
    font-size: 12px;
    height: 48px;
    line-height: 48px;
    margin-left: 10px;
    color: #b0b0b0;
}

/*-------------灰色导航结束--------------*/


/*--------小米手机开始-----------*/
.mi-detail {
    padding-top: 32px;
}

.mi-box {
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
}

.img-left img {
    float: left;
    width: 606px;
    position: relative;
}

.product-right {
    width: 600px;
    margin-left: 80px;
    display: block;
    float: left;
}

.product-name {
    margin-right: 480px;
    font-size: 24px;
    color: #212121;
    margin-left: 2px;
}

.sale-desc {
    color: #b0b0b0;
    margin: 0;
    padding: 0;
    padding-top: 8px;
    line-height: 1.5;
    font-size: 14px;
    text-align: left;
}

.sale-desc font {
    color: #ff4a00;
}

.company-info {
    color: #ff6700;
    display: block;
    text-align: left;
    margin: 14px 0px 0px;
    font-size: 14px;
}

.company-info title {
    text-align: left;
}

.price-info {
    display: block;
    font-size: 18px;
    line-height: 1;
    color: #ff6700;
    padding: 12px 0 10px;
    text-align: left;
    font-size: 18px;
}

.line {
    margin-top: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.activity {
    padding: 24px 0px 0px;
    border-bottom: 1px solid #e0e0e0;
    display: block;
    height: 100px;
}

.next-gift-box {
    margin-bottom: 24px;
    float: left;
    overflow: hidden;
}

.next-gift-desc {
    width: 80px;
    padding: 2px 0;
    text-align: center;
    background: #ff6700;
    color: #fff;
    float: left;
    font-size: 14px;
}

.next-name {
    width: 430px;
    font-size: 14px;
    line-height: 14px;
    margin-left: 10px;
    /* float: left; */
    display: inline-block;
    text-align: left;
}

.next-name .tip {
    width: 430px;
    line-height: 26px;
    margin: 0px 0px 9px;
    font-size: 14px;
    color: #333333;
    float: left;
    text-align: left;
}

.address-box {
    width: 600px;
    margin: 20px 0px;
    display: block;
}

.product-address {
    padding: 30px 50px;
    position: relative;
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.product-address .iconfont {
    position: absolute;
    left: 20px;
    top: 26px;
    font-size: 20px;
    color: #999;
}

.address-next {
    width: 500px;
    display: inline-block;
}

.address-info {
    text-align: left;
}

.address-info span {
    margin: 0px 14px 0px 0px;
    color: #333333;
    font-size: 14px;
    display: inline;
    margin-right: 14px;
}

.address-info a {
    color: #ff6700;
    margin: 0;
    font-size: 14px;
}

.address-desc {
    display: block;
    width: 500px;
    color: #e0e0e0;
    text-align: left;
}

.address-desc span {
    color: #ff6700;
    margin: 0;
    font-size: 14px;
}



.buy-option {
    width: 600px;
    height: 470px;
    display: block;
}


.buy-box-child {
    width: 600px;
    height: 187px;
    position: absolute;
    text-align: left;
    float: left;

}

.option-box .title {
    padding: 15px 0px 10px;
    font-size: 18px;
    color: #333333;
}

.clearfix>ul {
    width: 300px;
    height: 180px;
    float: left;
    margin: 0;
    padding: 0;
}

.clearfix-1>ul {
    width: 300px;
    height: 130px;
    float: left;
    margin: 0;
    padding: 0;
}

.clearfix-2>ul {
    width: 300px;
    height: 90px;
    float: left;
    margin: 0;
    padding: 0;
}

.buy-box-child a {
    margin-top: 10px;
    line-height: 42px;
    height: 42px;
    position: relative;
    border: 1px solid #e0e0e0;
    list-style: none;
    cursor: pointer;
    transition: all .2s ease;
    float: left;
    width: 279px;
    font-size: 16px;
    text-align: center;
    display: block;
    padding: 0 5px;
}

.buy-box-child .active {
    color: #ff6700;
    border: 1px solid #ff6700;
}

.option-box li:hover a {
    color: #ff6700;
    border: 1px solid #ff6700;
}



.service-box {
    margin-top: 40px;
}

.service-item-box {
    margin-bottom: 30px;
    display: block;
}

.service-item-box .title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1;
    text-align: left;
}

.service-item-box .title a {
    color: #ff6700;
    font-size: 14px;
    float: right;
    line-height: 18px;
}

.service-item-box ul {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f25807;
}


.service-item-box li {
    border: 1px solid #e0e0e0;
    margin-top: -1px;
    background: #fff;
    cursor: pointer;
    padding: 30px 0;
    position: relative;
    display: flex;
}

.service-item-box .active .icon-checkbox {
    color: #fff;
}

.service-item-box li .icon-checkbox::before {
    display: none;
}

.service-item-box li .icon-checkbox {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    line-height: 36px;
    margin-left: 30px;
    float: left;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    /* pointer	光标呈现为指示链接的指针（一只手） */
    margin-top: 10px;
    /* margin-top CSS 属性用于设置元素的顶部外边距外边距区域。正值使它离相邻元素更远，而负值使它更靠近相邻元素。*/
}

.service-item-box li .icon-checkbox em {
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    font-style: normal;
    line-height: 24px;
    color: #fff;
    font-size: 12px;
    vertical-align: middle;
    /* vertical-align 用来指定行内元素（inline）或表格单元格（table-cell）元素的垂直对齐方式 */
    margin-top: -4px;
    /* margin-top CSS 属性用于设置元素的顶部外边距外边距区域。正值使它离相邻元素更远，而负值使它更靠近相邻元素。*/
}


.service-item-box .active {
    border-color: #ff6700;
    z-index: 2;
}

.service-item-box .active .icon-checkbox {
    color: #fff
}

.service-item-box .active .icon-checkbox em {
    border-color: #ff6700;
    background-color: #ff6700
}

.service-item-box .active .agreement-box a,
.service-item-box .active h3 {
    color: #ff6700
}




/* .service-item-box li .active.icon-checkbox em {
    color: #ff6700;
    background-color: #ff6700;
} */

.service-item-box li img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    margin-left: 10px;
    float: left;
}

.service-item-box li h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    text-align: left;
}

.service-item-box li h3 em {
    font-style: normal;
    font-size: 14px;
    color: #fff;
    background-color: #ff6700;
    padding: 2px 6px;
    margin-left: 2px;
    display: inline-block;
    border-radius: 20px;
}

.service-item-box li .desc {
    margin: 0;
    padding: 0;
    margin-top: 5px;
    font-size: 14px;
    width: 286px;
    height: 18px;
    color: #b0b0b0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.service-item-box li .agreement-box {
    margin-top: 5px;
    display: block;
    text-align: left;
}

.service-item-box li .agreement-box a {
    color: #ff6700;
    font-size: 14px;
}

.service-item-box li .agreement-box a span {
    margin: 0px 5px;
    display: inline-block;
}

.service-item-box li .price {
    position: absolute;
    right: 20px;
    bottom: 28px;
    color: #757575;
}






.selected-box {
    padding: 30px;
    margin-bottom: 30px;
    background-color: #f9f9fa;
}

.selected-box ul li:first-child {
    margin-top: 0;
}

.selected-box ul li {
    list-style: none;
    line-height: 30px;
    color: #616161;
    text-align: left;
    font-size: 14px;
}

.selected-box ul li span {
    float: right;
}

.selected-box .total-price {
    color: #ff6700;
    font-size: 24px;
    padding-top: 20px;
    text-align: left;
}

.shopping-box {
    margin: 10px 0px 20px 0px;
    text-align: left;
}

.sale-box {
    display: inline-block;
    margin-right: 10px;

}

.sale-box .sale {
    width: 298px;
    height: 52px;
    line-height: 52px;
    font-size: 16px;
}

.sale-family {
    color: #fff;
    border-color: #ff6700;
    background-color: #ff6700;

}

.sale {
    display: inline-block;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s;
}


.favorite-box {
    display: inline-block;
    vertical-align: top;
}

.like-box {
    display: block;
    width: 140px;
    height: 52px;
    line-height: 52px;
    padding: 0;
    margin: 0;
    border: 1px solid #b0b0b0;
    text-align: center;
    cursor: pointer;
    transition: all .4s;
    font-size: 16px;
    position: relative;
}

.like {
    background: #b0b0b0;
    color: #fff;
}

.sale-box:hover a {
    color: #fff;
    background-color: #f25807;
    transition: all 0.1s;
}

.favorite-box:hover a {
    color: #fff;
    background-color: #757575;
    transition: all 0.1s;
}




.after-sale-info {
    text-align: left;
}

.after-sale-info a {
    display: inline-block;
    margin-right: 15px;
    line-height: 30px;
    margin-bottom: 10px;
    cursor: default;
    white-space: nowrap;
    color: #b0b0b0;
}

.after-sale-info a i {
    font-size: 20px;
    display: inline-block;
    font-style: normal;

}

.after-sale-info a em {
    font-style: normal;
    font-size: 14px;
    display: inline-block;
    margin-left: 2px;
}

/*--------小米手机结束-----------*/




/*-----小米手机细节开始---------*/
.detail-main {
    padding-bottom: 50px;
    background-color: #f5f5f5;
    width: 100%;
    height: 100%;
    color: #333;
    float: left;
}

.footer-title {
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
    height: 77px;
}

.footer .footer-title h3 {
    font-size: 22px;
    font-weight: 400;
    color: #333333;
    padding: 22px;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

.footer-img-box {
    height: 189px;
    position: relative;
}

.footer-img-box img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* translateX() 函数表示在二维平面上水平方向移动元素 ，-50%水平往左移动一半距离*/
    height: 100%;
    border: 0;
}

/*-----小米手机细节结束---------*/


/*-------页脚描述开始--------*/
.footer-desc {
    width: 100%;
    background-color: #fff;
    padding: 4px 0 12px;
    margin: 0 auto;
    float: left;

}

.footer-serverse {
    width: 100%;
    height: 25px;
    padding: 27px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-serverse li {
    float: left;
    width: 19.8%;
    height: 25px;
    line-height: 25px;
    font-size: 16px;
    border-right: 1px solid #e0e0e0;
}

.footer-serverse li:last-child {
    border-right: none;
}

.footer-serverse a {
    color: #616161;
    transform: all 1s;
}

.footer-serverse i {
    font-size: 24px;
    margin-right: 6px;
}

.footer-serverse a:hover {
    color: #ff6700;
}

.footer-links {
    width: 100%;
    height: 280px;
    padding: 40px 0;
}

.main-links {
    float: left;
    width: 160px;
    text-align: left;
    color: #424242;
    font-size: 14px;

}

.main-links:first-child {
    float: left;
    width: 160px;
    margin: 0;
}

.main-links a {
    color: #757575;
    font-size: 12px;
}

.main-links dt {
    margin-top: 10px;
    margin: -1px 0 26px;
    font-size: 14px;
    line-height: 1.25;
    color: #424242;
}

.main-links dd {
    margin: 10px 0 0;
    font-size: 12px;
}

.main-links a:hover {
    color: #ff6700
}

.main-links:last-child {
    width: 251px;
    height: 111px;
    border-left: 1px solid #e0e0e0;
    background-color: #fff;
    text-align: center;
    float: right;
}

.tel {
    font-size: 22px;
    line-height: 1;
    color: #ff6700;
    margin-top: 5px;
}

.time {
    font-size: 12px;
    color: #616161;
    margin-top: 5px;
}

.kefu {
    display: block;
    margin: 5px auto;
    width: 118px;
    height: 28px;
    line-height: 28px;
    border: 1px solid #f25807;
    font-size: 12px;
    color: #ff6700;
    transition: all 1s;
}

.main-links:last-child a {
    color: #f25807;
}

.main-links:last-child a:hover {
    background-color: #f25807;
    color: #fff;
}

/*----页脚描述结束---- */

/*----最后页脚信息开始----*/
.footer-infer {
    clear: both;
    /* 同时清除左右两侧浮动的影响 */
    height: 190px;
    width: 100%;
    padding: 30px 0;
    font-size: 12px;
    margin: 0 auto;
    background-color: #fafafa;
}

.footer-logo {
    float: left;
    width: 57px;
    height: 57px;
    position: absolute;
}

.footer-logo>img {
    width: 100%;
}

.infer-text {
    float: left;
    width: 1159px;
    height: 190px;
    margin-left: 80px;
}

.footer-infer p {
    line-height: 18px;
    text-align: left;
}

.sites a {
    color: #757575;
}

.sites span {
    color: #b0b0b0;
}

.sites-text {
    text-align: left;
    font-size: 12px;
    color: #b0b0b0;
}

.sites-text a:visited {
    color: #b0b0b0;
    /*--选择所有已访问的链接--*/
}

.footer-infer a:hover {
    color: #ff6700;
}

.sites-links {
    height: 28px;
    margin: 4px 0 15px;
}

.sites-links img {
    height: 28px;
    width: auto;
}

.maxlay {
    z-index: 3;
}

.footer-infer .slogan {
    width: 100%;
    height: 19px;
    font-size: 19px;
    font-family: cursive;
    /* 草书 */
    color: #e0e0e0;
    text-align: center;
    float: left;
    background-color: #fafafa;
}

/*----最后页脚信息结束----*/


/*---小米商城右侧悬浮列表---- */
.sidebar {
    width: 87px;
    height: 500px;
    position: fixed;
    right: 10px;
    bottom: 100px;
    z-index: 5;
}

.sidebar ul li {
    border: 1px solid #f5f5f5;
    width: 85px;
    height: 85px;
    background-color: #fff;
    color: #999999;
    position: relative;
}

.sidebar ul li:last-child {
    margin-top: 20px;
}

.sidebar ul li span {
    width: 85px;
    height: 50px;
    display: block;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
}

.sidebar ul li:hover>span,
.sidebar ul li:hover>p {
    color: #ff6700;
}

.sidebar ul li:hover>span {
    cursor: default;
    /* 默认指针，通常是箭头。 */
}

.sidebar ul li:last-child:hover>span,
.sidebar ul li:last-child:hover>p {
    cursor: pointer;
    /* pointer	光标呈现为指示链接的指针（一只手） */
}


.erwei {
    width: 100px;
    height: 150px;
    position: absolute;
    top: 0;
    left: -130px;
    padding: 10px;
    color: #333333;
    text-align: center;
    font-size: 14px;
    display: none;
    border: 1px solid #f5f5f5;
    z-index: 10;
    background-color: #fff;
}

.sidebar ul li:hover .erwei {

    display: block;
}

.erwei-text {
    margin: 10px;
    color: #000000;
    text-align: center;
    font-size: 12px;
}

/*---小米商城右侧悬浮列表---- */